
<h1><span class="yiyi-st" id="yiyi-12">numpy.dtype.flags</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.dtype.flags.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.dtype.flags.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="attribute">
<dt id="numpy.dtype.flags"><span class="yiyi-st" id="yiyi-13"> <code class="descclassname">dtype.</code><code class="descname">flags</code></span></dt>
<dd><p><span class="yiyi-st" id="yiyi-14">位标志描述如何解释此数据类型。</span></p>
<p><span class="yiyi-st" id="yiyi-15">位掩码位于<em class="xref py py-obj">ITEM_HASOBJECT</em>，<em class="xref py py-obj">LIST_PICKLE</em>，<em class="xref py py-obj">ITEM_IS_POINTER</em>，<em class="xref py py-obj">中的<code class="xref py py-obj docutils literal"><span class="pre">numpy.core.multiarray</span></code> NEEDS_INIT</em>，<em class="xref py py-obj">NEEDS_PYAPI</em>，<em class="xref py py-obj">USE_GETITEM</em>，<em class="xref py py-obj">USE_SETITEM</em>。</span><span class="yiyi-st" id="yiyi-16">这些标志的完整解释在C-API文档中；它们对用户定义的数据类型很有用。</span></p>
</dd></dl>
